package com.daniel.service.impl;

import com.daniel.entity.UserRoleVO;
import com.daniel.mapper.IUserMockMapper;
import com.daniel.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description 用户信息模块
 * @Author GanShaoXi
 * @ClassName UserInfoService
 * @Return com.daniel.service.impl
 * @Since 1.0.0
 * @Created on 2023/5/21 17:42
 */
@Service
public class UserInfoService implements IUserInfoService {

    @Autowired
    IUserMockMapper iUserMockMapper;

    @Override
    public List<UserRoleVO> findUserRoleList() {
        return iUserMockMapper.findAllList();
    }

    @Override
    public List<UserRoleVO> queryUserRoleList(UserRoleVO userRoleVO) {
        return iUserMockMapper.findList(userRoleVO);
    }
}
